module.exports = function(content,map,meta){
    let reg = /(?<num1>\d+)\.?(?<num2>\d+)?px/g
    let content1 = content.replace(reg,function(...data){
        var arr = data[data.length-1]
        var num1 = 0,
        num2 = 0
        if(arr.num1) num1 = parseFloat(arr.num1)
        if(arr.num2) num2 = parseFloat(arr.num2)
        return parseFloat(num1 + '.' + num2) / 16 + 'rem'
    })
    return content1
}